package com.niiwoo.civet.trade.dto.kaola.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Getter
@Setter
public class GetRepayResultResponse extends BaseResponse {

	private static final long serialVersionUID = 1L;
	/*
	 * 还款状态 3进行中4失败5成功
	 */
	private Integer status;

	/**
	 * 项目ID
	 */
	private String subject_id;

	/**
	 * 还款总额
	 */
	private BigDecimal amount;

	/**
	 * 罚息
	 */
	private BigDecimal  overdue_interest;

	/**
	 * 还款本金
	 */
	private BigDecimal principal;

	/**
	 * 还款利息
	 */
	private BigDecimal interest;

	/**
	 * 利息分账
	 */
	private BigDecimal interest_split;

	/*
	 * 还款类型 1正常还款2提前还款3代偿
	 */
	private Integer repay_type;
	/*
	 * 还款日期
	 */
	private String repay_date;

	/**
	 * 债权转让协议 url地址
	 */
	private String creditor_attorn;

	@Override
	public String toString() {
		return "GetRepayResultResponse [status=" + status + ", repay_type=" + repay_type + ", repay_date=" + repay_date
				+ "]";
	}


}
